projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84753e2
)
Fix tiny mem leak when writing routes.
author
robertl
<robertl>
Thu, 30 Jun 2005 17:37:00 +0000
(17:37 +0000)
committer
robertl
<robertl>
Thu, 30 Jun 2005 17:37:00 +0000
(17:37 +0000)
lowranceusr.c
patch
|
blob
|
history
diff --git
a/lowranceusr.c
b/lowranceusr.c
index e3af382c702850fe0fff03b4f1b9d087046ec612..ace7f08902ce859c9a1e752dd931a370e1370861 100644
(file)
--- a/
lowranceusr.c
+++ b/
lowranceusr.c
@@
-770,6
+770,7
@@
lowranceusr_route_hdr(const route_head *rte)
text_len = strlen(name);
my_fwrite4(&text_len, file_out);
fwrite(name, 1, text_len, file_out);
+ xfree(name);
/* num legs */
num_legs = (short) rte->rte_waypt_ct;